<template>
    <view>
        <web-view src="file:///C:/Users/%E8%81%82%E5%AE%87/Desktop/%E7%AE%80%E5%8E%86/%E8%81%82%E5%AE%87-%E6%9C%AC%E7%A7%91-Java%E5%90%8E%E5%8F%B0%E5%BC%80%E5%8F%91-17383003292.pdf"></web-view>
    </view>
</template>
<script>
  export default {
    data () {
      return {
        url: '', // pdf链接
      }
    },
    onLoad (options) {
      let links = 'C:\\Users\\聂宇\\Desktop\\简历\\聂宇-本科-Java后台开发-17383003292.pdf';
	  console.log(links)
	  // 设置连接地址；
      this.url = `hybrid/html/pdf.html?url=${links}`;
	  console.log( this.url)
    },
  }
</script>